﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Marbles.Core.Web.MVC.Enclosures
{
    public class Enclosure
    {


        public string Name
        {
            get { return this._Name; }
        }

        public string Model
        {
            get { return this._Model; }
        }

        public string View
        {
            get { return this._View; }
        }

        public bool Live
        {
            get { return this._Live; }
        }

        private bool _Live = false;
        private string _Name = string.Empty;
        private string _Model = string.Empty;
        private string _View = string.Empty;

        public Enclosure(string Name, string Model, string View, bool Live)
        {
            this._Name = Name.ToLower().Trim();
            this._Model = Model.Trim();
            this._View = View.Trim();
            this._Live = Live;
        }

        public Enclosure(string Name, string Model, string View)
        {
            this._Name = Name.ToLower().Trim();
            this._Model = Model.Trim();
            this._View = View.Trim();
            this._Live = true;
        }
    }
}
